Learn how to implement multi-language search on a single store view with the Algolia for Magento 2 extension.
magento2_products_en
magento2_products_de
magento2_products_es
algolia_after_create_product_object
event,
the same way as written in the custom event extension algolia_products_index_before_set_settings
.$observer
variable passed to the execute()
method, fetch:
custom_data
productObject
subProducts
array
in the custom_data
object and can be modified like any other PHP array.custom_data
.
Structure the data according to the example record.execute()
method